﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;

namespace SmartLibraries.DataAccessLayer
{
    internal class SmartSqlClasses :  SmartBaseDal<SqlConnection,SqlCommand,SqlException,SqlParameter,SqlDataAdapter>
    {

		internal SmartSqlClasses(CommandType objCommandType,
			ISmartQuery objQuery):base(objCommandType,objQuery){}

	
		protected override void FunPriRaiseError(SqlException objException)
		{
		    throw new ClsDatabaseException
		        (objException.ErrorCode, objException.Class, objException.State,
		        objException.Procedure, objException.LineNumber, objException.Message);
		}
	
    
    }
}
